home *** CD-ROM | disk | FTP | other *** search
- //
- // SWORD.POV
- // This file is a simple demonstration file to be used with
- // SWORD.INC. This file is basically the basicvue.pov with
- // some minor changes.
- //
- // This will trace on an SGI 4D in around 30 seconds at 320x200
- // resolution. Sorry, no other numbers for other machines...
- //
-
- #include "colors.inc"
- #include "shapes.inc"
- #include "shapesq.inc"
- #include "textures.inc"
- #include "sword.inc"
-
- camera {
- location <0.0 0.0 -30.0>
- direction <0.0 0.0 1.0>
- up <0.0 1.0 0.0>
- right <1.33333 0.0 0.0>
- look_at <5 5 0>
- }
-
- // Light source
- object {
- light_source {
- < 3 30 -31 > color White
- }
- }
-
- // Sky sphere
- object {
- sphere { <0 0 0> 10000 }
- texture {
- ambient 1.0 // Bath it in so much "light" that it doesn't have any shadows
- diffuse 0.7
- color NeonBlue .7
- brilliance 2
- }
- }
-
- // Floor plane
- object {
- plane { <0.0 1.0 0.0> -10 }
- colour White
- texture {
- colour NeonBlue
- ambient 0.15
- diffuse 0.8
- }
- }
-
- // Add in the actual sword, scale and rotate it.
- //
- object {
- Sword1
- scale < 3.5 3.5 3.5 >
- rotate < 25 0 33 >
- }
-
-